home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
N-O
/
New Farm Program.cpt
/
New Farm Program
/
card_4496.txt
< prev
next >
Wrap
Text File
|
1988-02-06
|
7KB
|
334 lines
-- card: 4496 from stack: in
-- bmap block id: 6873
-- flags: 0000
-- background id: 2765
-- name: last
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=167 top=38 right=66 bottom=198
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Boing
----- HyperTalk script -----
on mouseUp
put card field "total own" of card "expense" into card field "expenses"
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=168 top=57 right=85 bottom=199
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Boing
----- HyperTalk script -----
on mouseUp
put card field "total rent" of card "expense" into card field "expenses"
end mouseUp
-- part 3 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=250 top=182 right=198 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: expenses
-- part 4 (field)
-- low flags: 00
-- high flags: 4002
-- rect: left=250 top=93 right=109 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: yield
-- part 5 (field)
-- low flags: 00
-- high flags: 4002
-- rect: left=250 top=115 right=131 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: cash price
-- part 6 (field)
-- low flags: 01
-- high flags: 4001
-- rect: left=250 top=138 right=154 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: acres
----- HyperTalk script -----
on mouseDown
put card field "a2" from card "3rd" into card field "acres"
end mousedowm
-- part 7 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=250 top=159 right=175 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: gross cash
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=345 top=38 right=66 bottom=376
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Boing
----- HyperTalk script -----
on mouseUp
get card field "a2" of card "2nd"
put it into card field "acres"
get card field "c2" of card "2nd"
put it into card field "total def"
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=345 top=55 right=83 bottom=376
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20 + 10
----- HyperTalk script -----
on mouseUp
put card field "a3" of card "3rd" into card field "acres"
put card field "g3" of card "3rd" into card field "total def"
end mouseUp
-- part 11 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=250 top=205 right=221 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: net cash
-- part 12 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=385 top=116 right=144 bottom=416
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: calc
----- HyperTalk script -----
on mouseUp
set numberformat to "00.00"
put card field "acres" * card field "cash price" * card field "yield" into it
divide it by 100
multiply it by card field "h1" of card "1st"
put it into card field "gross cash"
put card field "gross cash" - card field "expenses" * card field "acres" into card field "net cash"
get card field "net cash" + card field "total def"
put it into card field "total income"
put card field "cash price" into x
put card field "pik" of card "1st" into y
put x - y into pik
put card field "yield" * pik into it
multiply it by field "a1" of card "1st"
divide it by 100
multiply it by card field "h1" of card "1st"
subtract card field "expenses" * field "a1" of card "1st" from it
put it into card field "non"
end mouseUp
-- part 13 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=249 top=228 right=244 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: total def
-- part 14 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=249 top=251 right=267 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: total income
-- part 15 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=248 top=272 right=288 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: non
-- part 16 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=363 top=240 right=296 bottom=433
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: overall
-- part 17 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=198 top=220 right=235 bottom=249
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 21 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=231 top=158 right=172 bottom=253
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for card part 3
----- text -----
219.00
-- part contents for card part 11
----- text -----
-364.00
-- part contents for card part 7
----- text -----
11900.00
-- part contents for card part 6
----- text -----
56.00
-- part contents for card part 13
----- text -----
5112.00
-- part contents for card part 14
----- text -----
4748.00
-- part contents for card part 15
----- text -----
-2020.00
-- part contents for card part 4
----- text -----
125
-- part contents for card part 5
----- text -----
1.7
-- part contents for card part 16
----- text -----
Your Milo Totals